/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.LSPrinc.Vialoted;

/**
 *
 * @author Avis
 */
public class Square extends Rectangle
{
  public int height;
  
  public void setWidth(int width)
  {
      rWidth = width;
      rHeight = width;
  }
  public void setHeight(int height)
  {
      rWidth = height;
      rHeight = height;
  }
  public int areaBox()
   {
       return super.area()*height;
   }
}
